import config from "@/config";
import http from "@/utils/request";

export default {
	// 课程类型
	getCategory: {
		url: `${config.API_URL}/college/dropdown-box-options/findCourseCategory`,
		name: "课程类型",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
  
	// 学科分类
	getClassify: {
		url: `${config.API_URL}/college/dropdown-box-options/findCourseClassify`,
		name: "学科分类",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},

	// 教室
	findRoom: {
		url: `${config.API_URL}/college/dropdown-box-options/findRoom`,
		name: "教室",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
	
	// 校区
	findSchool: {
		url: `${config.API_URL}/college/dropdown-box-options/findSchool`,
		name: "校区",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
	// 员工列表
	findEnterprise: {
		url: `${config.API_URL}/college/dropdown-box-options/findEnterprise`,
		name: "员工列表",
		get: async function (params) {
			return await http.post(this.url, params);
		},
	},
}